<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
>
    <head>
        <title>Hello World!</title>
        <meta name="_csrf"  th:content="${_csrf.token}"/>
        <!-- default header name is X-CSRF-TOKEN -->
        <meta name="_csrf_header" th:content="${_csrf.headerName}"/>
        <script type="text/javascript" th:src="@{/webjars/jquery/3.2.1/jquery.min.js}" ></script>
        <script type="text/javascript" th:src="@{/js/hello.js}" ></script>
    </head>
    <body>
        <input type="hidden" th:src="@{/}" id="contentPath">
        <h1 th:inline="text">Hello [[${#httpServletRequest.remoteUser}]]!</h1>
        <form th:action="@{/logout}" method="post">
            <input type="submit" value="Sign Out"/>
        </form>
        <button type="button" id="btnTest">Test</button>
    </body>
</html>